@extends("admin.base")
  @section("content")
      <!-- Content Header (Page header) -->
        <section class="content-header">
          <h1>
            浏览商品
            <small>preview of simple tables</small>
          </h1>
          <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> 首页</a></li>
            <li><a href="#">商品管理</a></li>
            <li class="active">浏览商品</li>
          </ol>
        </section>

        <!-- Main content -->
        <section class="content">
          <div class="row">
            <div class="col-md-12">
              <div class="box">
                <div class="box-header with-border">
                  <h3 class="box-title"><i class="fa fa-th"></i> 网站配置</h3>
                </div><!-- /.box-header -->
                <div class="box-body">
                  <table class="table table-bordered">
                    <tr>
                      <th style="width:100px">网站名称</th>
                      <th style="width:100px">网站Logo</th>
                      <th style="width:100px">网站关键字</th>
                      <th style="width:100px">网站版权</th>
                      <th style="width:100px">网站状态</th>
                      <th style="width:100px">操作</th>
                    </tr>
                   @foreach($list as $bb)
                    <tr>
                      <td style="height:60px">{{$bb->webname}}</td>
                      <td style="height:60px">
                        <img src="/uploads/{{$bb->logo}}">
                      </td>
                      <td style="height:60px">{{$bb->keywords}}</td>
                      <td style="height:60px">{{$bb->copy}}</td>
                      <td style="height:60px">
                        @if($bb->status > 0 )
                            开启  
                        @elseif($bb->status = 0)
                            关闭
                        @endif
                      </td>
                      <td style="height:60px">
                        <a href="{{url('admin/config')}}/{{$bb->id}}/edit"><button class="btn btn-xs btn-primary">编辑</button></a>
                        
                      </td>
                    </tr>
                    @endforeach
                  </table>
                </div><!-- /.box-body -->
                <div class="box-footer clearfix">
                 
                </div>
              </div><!-- /.box -->
            </div><!-- /.col -->
          </div><!-- /.row -->
        </section><!-- /.content -->
            
        
  @endsection